import { SET_TOKEN, CLEAR_TOKEN, SET_CURRENTFULLPATH, CLEAR_CURRENTFULLPATH } from "store/mutations_type"

export default {
    [SET_TOKEN](state, token) {
        state.token = token
    },
    [CLEAR_TOKEN](state) {
        state.token = ''
    },
    [SET_CURRENTFULLPATH](state,fullpath) {
        state.currentFullPath = fullpath
    },
    [CLEAR_CURRENTFULLPATH](state) {
        state.currentFullPath = []
    }
}